function getLength(args) {
  return args.length;
}

console.log(getLength("aaaaa"));
console.log(getLength(["abc", "cba", "nba"]));
console.log(getLength(123)); //undefined
console.log(getLength()); //编写时发现不了
